package org.example.base.common.entity;

import org.example.core.annotation.Field;
import org.example.core.annotation.Table;
import org.example.core.entity.SimpleEntity;

/**
 * 用户实体类
 */
@Table(value = "t_user",orderBy = "update_time desc")
public class UserEntity extends SimpleEntity {

    private String account;

    private String password;

    private String sex;

    private String name;

    private String img;

    private int age;

    private String telephone;

    /**
     * 花店管理
     */
    private String location;

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
